curl --request POST \
--url https://api.evermind.ai/api/v2/memory/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"memory_type": "episode",
"memory_id": "66dff0f8a9f84d8c9f62f011",
"rating": "negative",
"reason": "outdated",
"note": "The user moved to Shanghai last month",
"suggestion": "The user currently lives in Shanghai."
}
'import requests
url = "https://api.evermind.ai/api/v2/memory/feedback"
payload = {
"memory_type": "episode",
"memory_id": "66dff0f8a9f84d8c9f62f011",
"rating": "negative",
"reason": "outdated",
"note": "The user moved to Shanghai last month",
"suggestion": "The user currently lives in Shanghai."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
memory_type: 'episode',
memory_id: '66dff0f8a9f84d8c9f62f011',
rating: 'negative',
reason: 'outdated',
note: 'The user moved to Shanghai last month',
suggestion: 'The user currently lives in Shanghai.'
})
};
fetch('https://api.evermind.ai/api/v2/memory/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evermind.ai/api/v2/memory/feedback",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'memory_type' => 'episode',
'memory_id' => '66dff0f8a9f84d8c9f62f011',
'rating' => 'negative',
'reason' => 'outdated',
'note' => 'The user moved to Shanghai last month',
'suggestion' => 'The user currently lives in Shanghai.'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evermind.ai/api/v2/memory/feedback"
payload := strings.NewReader("{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evermind.ai/api/v2/memory/feedback")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evermind.ai/api/v2/memory/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"data": {
"id": "<string>"
}
}{}{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{}{}Submit feedback about one memory [Cloud-only]
Rate one memory — an episode, a profile item, an agent case or an agent skill — as positive or negative, optionally saying why.
- Address the target the way /api/v2/memory/get or /search returned it:
memory_type+memory_id, plusitem_idfor a profile (required there, rejected for the other kinds). reasonandsuggestiongo with negative ratings only;noteis free text on either.- A target that does not exist, is deleted, or belongs to another tenant is rejected with 404.
Recording is not applying: nothing about the memory is updated, deleted, suppressed or re-indexed. The response is the id of the stored signal.
curl --request POST \
--url https://api.evermind.ai/api/v2/memory/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"memory_type": "episode",
"memory_id": "66dff0f8a9f84d8c9f62f011",
"rating": "negative",
"reason": "outdated",
"note": "The user moved to Shanghai last month",
"suggestion": "The user currently lives in Shanghai."
}
'import requests
url = "https://api.evermind.ai/api/v2/memory/feedback"
payload = {
"memory_type": "episode",
"memory_id": "66dff0f8a9f84d8c9f62f011",
"rating": "negative",
"reason": "outdated",
"note": "The user moved to Shanghai last month",
"suggestion": "The user currently lives in Shanghai."
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
memory_type: 'episode',
memory_id: '66dff0f8a9f84d8c9f62f011',
rating: 'negative',
reason: 'outdated',
note: 'The user moved to Shanghai last month',
suggestion: 'The user currently lives in Shanghai.'
})
};
fetch('https://api.evermind.ai/api/v2/memory/feedback', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.evermind.ai/api/v2/memory/feedback",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'memory_type' => 'episode',
'memory_id' => '66dff0f8a9f84d8c9f62f011',
'rating' => 'negative',
'reason' => 'outdated',
'note' => 'The user moved to Shanghai last month',
'suggestion' => 'The user currently lives in Shanghai.'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.evermind.ai/api/v2/memory/feedback"
payload := strings.NewReader("{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.evermind.ai/api/v2/memory/feedback")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.evermind.ai/api/v2/memory/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"memory_type\": \"episode\",\n \"memory_id\": \"66dff0f8a9f84d8c9f62f011\",\n \"rating\": \"negative\",\n \"reason\": \"outdated\",\n \"note\": \"The user moved to Shanghai last month\",\n \"suggestion\": \"The user currently lives in Shanghai.\"\n}"
response = http.request(request)
puts response.read_body{
"request_id": "<string>",
"data": {
"id": "<string>"
}
}{}{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{}{}Authorizations
API key issued by EverOS, sent as Authorization: Bearer <api_key>.
Body
Rate one memory record [Cloud-only].
The target is addressed the way the read APIs return it: memory_type +
memory_id, plus item_id for a profile, whose rateable unit is one item
inside profile_data rather than the whole document. Everything identifying
(tenant, submitter) is derived on the server; the whitelist is closed.
A reason is DESCRIPTIVE. No code triggers a mutation by itself — privacy in
particular is a signal, not a deletion request.
Kind of the target memory, as named by memory.get / search.
episode, profile, agent_case, agent_skill The target's id from memory.get / search (the profile document's id for profile).
24^[0-9a-fA-F]{24}$Direction of the explicit assessment.
positive, negative Which profile item is rated (profile_data.*[].item_id). Required for profile, not accepted for other kinds.
^(ei|it)_[0-9a-f]{24}$Structured reason used for analysis; it never triggers mutation. Negative ratings only. No default: an unset reason means the caller was not asked, other means they rejected the list — collapsing the two would corrupt every breakdown. Same base list as Reason.code on /api/v2/memory/update and /delete_by_ids minus missing, which a rating cannot express because it always names a memory that exists. (outdated — "right when written, wrong now" — reaches Reason.code with the engine's next release; on release-20260901_v15 it is feedback-only.)
hallucination, outdated, wrong_subject, wrong_time, redundant, privacy, style, other Optional free-text explanation of the rating.
1 - 256What the memory should have said, as free text. Negative ratings only. Stored with the signal and never applied automatically.
1 - 8000Was this page helpful?

